[Comment "auto-generated from "]
[Event "Pirc analysis"]
[Site "Chesspub"]
[Date "2018.03.16"]
[Round "?"]
[White "Swap variation (6.Bh6)"]
[Black "(7...e5) and (11...a5)"]
[Result "*"]
[EventDate "2018.03.16"]

1.e4 d6 2.d4 Nf6 3.Nc3 g6 4.Be3 Bg7 5.Qd2 c6 6.Bh6 Bxh6 7.Qxh6 e5 8.dxe5 dxe5 9.Nf3 Qe7 10.Bc4 b5 11.Bb3 a5!? {Looks optimistic and is probably a bit risky; on the other hand black does get more play in this variation compared to both 11...Nbd7 and 11...Be6.} 12.a4 
    ( 12.a3! {Actually may be best here, even if it is not going to be obvious to white players facing the position without prior knowledge.} 12...Ba6 13.Ng5 
        ( 13.O-O a4 14.Ba2 b4 15.axb4 Bxf1 16.Rxf1 Nbd7 17.Ng5 Rf8 18.b5 cxb5 19.Nxb5 Rc8 20.Qh3 {(=) Black does not seem to be in danger of being worse.} )
    13...Rf8 14.Nxh7 
        ( 14.O-O-O Ng8 15.Qh4 Nd7 {(=) Black's position, although slightly weird looking momentarily, should not be underestimated in positional terms.} )
    14...Nxh7 15.Qxh7 a4 
        ( 15...Nd7 16.Qh3 Nc5 17.O-O-O {(+/ = ) Does not look like full compensation either.} )
    16.Ba2 b4 17.axb4 Qxb4 18.Qh3 
        ( 18.Bxf7+ Rxf7 19.Qh8+ Rf8 
            ( 19...Qf8!? )
        20.Qxe5+ Kd8 21.f3 Nd7 22.O-O-O Bc8!? {(∞) In a theoretical sense black should just be playing for a draw. The position is probably best described as unclear though.} )
    18...Qxb2 19.Kd2! Qb6 
        ( 19...Qb4!? 20.Rhb1 Qa5 21.Ke1!? Nd7 22.Bb3 a3 23.Ba4 Qc5 24.Qe3 
            ( 24.Nd5?! Qc4 25.Nc7+ Ke7 26.Qxa3+ Nc5 27.Nxa6 Qxe4+ 28.Kf1 Qc4+ 29.Kg1 Rxa6 )
        24...Qc4 25.Rxa3 Rh8 26.h3 Qf1+ 27.Kd2 Qxg2 28.Ne2 
            ( 28.Bxc6?! Rxh3 29.Rg1 Qh2 30.Rg3 Rxg3 31.Qxg3 Qxg3 32.fxg3 O-O-O 33.Nd5 Bb7 )
            ( 28...Rc8?! 29.Rg1 Qh2 30.Rg3 Nf6 31.Ng1 Qh1 32.Nf3 Bc4 33.Kc3 Be6 34.Kb2 Rb8+ 35.Bb3 )
        29.Bxc6 Rc8 30.Bxd7+ Kxd7 31.Qa7+ Ke8 32.Rb8 Ba6 33.Rxa6 Qxh3 34.Rxc8+ Qxc8 35.Rd6 {(+/ - ) With serious advantage for white.} )
    20.Qe3 Qd8+ 21.Kc1 Qd4 22.Qxd4 exd4 23.Nxa4 Nd7 24.Kd2 Ke7 25.Nb2 Rfb8 26.Rhb1 Nc5 27.f3 Bc8 28.Kc1 f5 29.exf5 Bxf5 30.Bc4 g5 31.Rxa8 Rxa8 32.Kd2 {(+/ - ) White should have good chances to convert eventually.} )
    ( 12.Ng5?! Rf8 13.a4 Ng8!? 14.Qh4 h6 15.Nf3 Qxh4 16.Nxh4 b4 17.Nd1 Nd7 {(=) Black is fine.} )
12...b4 13.Nb1 Nbd7 
    ( 13...Ba6 14.Nbd2 Nbd7 {Transposes to 13...Nbd7.} )
    ( 13...Nxe4!? {Looks a bit loose but could be interesting as well.} )
    ( 14.Ng5 Rf8 15.Nxh7 Nxh7 16.Qxh7 Qg5!? 17.Nd2 Nf6 18.Qg7 Ke7 19.h4 Qxg2 20.O-O-O Qg4 21.h5 gxh5 22.Qh6 Qf4 23.Qxf4 exf4 {(+/ = ) to (=) And it is not clear how much white's advantage is worth.} )
    ( 14...Qf8 15.Qe3!? Ng4 16.Qe2 Qe7 17.h3 Ngf6 18.O-O O-O 19.Qe3 {(+/ = )} )
15.Ng5 Rf8 16.Nxh7 Nxh7 17.Qxh7 Qg5 
    ( 17...O-O-O 18.Qh3 
        ( 18.O-O-O Nc5 19.Qh3+ Kc7 {Transposes to 18.Qh3.} )
        ( 18.Bc4 Kc7 19.Qh3 
            ( 19.Bxa6? Rh8 20.Qg7 Rdg8 21.Qxg8 Rxg8 {( - +)} )
        19...Bxc4 20.Nxc4 Qc5 21.b3 Nb6 {(=) With compensation.} )
    18...Kc7 19.O-O-O 
        ( 19.Qe3 Nc5 20.O-O-O {Transposes.} )
    19...Nc5 20.Qe3 Rd4 21.Ba2 f5!? 22.exf5 gxf5 {(∞) to (+/ = ) With some compensation and in general a quite active position for black.} )
    ( 18.Qh3 Nc5 19.O-O-O Rd8! 20.Qg3 Nxb3+! 21.cxb3 Qxg3 22.hxg3 Ke7 {(=) to (+/ = ) I would not be so displeased here as black. Looks like he has good chances to hold.} )
    ( 18...Nc5 19.Qh3 Rd8 20.Qg3 Qxg3 21.hxg3 Nxb3+ 22.cxb3 Ke7 {Transposes to 18.Qh3. This actually seems more practical.} )
19.Qh3 Kb7! 20.Qg3 Qh6! {With this sequence of moves black ensures his pieces will be in a good place to participate later.} 21.h4 
    ( 21.Rhe1 f6 22.Qe3 Qxe3 23.Rxe3 Nc5 24.Ree1 Kb6 25.f3 Rd7 26.Nf1 Bxf1 27.Rxf1 Rh7 28.h3 Rg7 29.Rf2 Kc7 {White needs a plan. Black will try to go f5 at the right time.} )
21...f6 22.Qf3 
    ( 22.Rde1 Nc5 23.Qe3 Qxe3 24.Rxe3 Rd4 25.Rhe1 
        ( 25.g4?! Rfd8 26.Rd1 Rh8 27.Rde1 Rxh4!? 28.Nf3 Rxg4 29.Nxd4 exd4 30.Rg3 Rf4 31.e5 fxe5 32.Rxe5 Rxf2 33.Rxc5 Rf1+ 34.Kd2 Rf2+ 35.Kc1 Rf1+ 36.Kd2 Rf2+ 37.Kc1 {(=) Perpetual check.} )
    25...Kb6 26.Nf3 Rd7 {(=) to (+/ = ) Black is fairly solid though plausibly white could have some hope with his extra pawn.} )
22...Nc5 23.h5 Rh8 24.g4 
    ( 24.hxg6? Qxh1! 25.g7 Qxd1+ 26.Qxd1 Nxb3+ 27.cxb3 Rh7 {( = /+ ) I like black here, although with good defence from white the position is not obviously good for the opponent.} )
24...Rd3 25.hxg6 Rxf3 26.Rxh6 Rxh6 27.g7 Rg6 28.Nxf3 Rxg7 29.g5 fxg5 30.Re1 Kb6 31.Kd2 Rd7+ 32.Kc1 Rg7 {(=) By now it seems clear that black is very much OK.} *